<?php

class UserBasicfileModel extends UserModel {
    var $tableName = 'user_basicfile';
    
    /* 获取用户基本资料
    }
    */
function getUserBasicList($uid){
        $userBasicList                      = $this->where('uid='.$uid)->find();
        //$userInfo                          = $this->dataProcess( $userInfoList );
        $userBasicList['Uname']		    = $this->table(C('DB_PREFIX').'user')->where('uid='.$uid)->field('uname')->find();
        $userBasicList['detail']		    = $this->table(C('DB_PREFIX').'user_basicfile')->where('uid='.$uid)->find();
        //$userInfo['base']['completeness']  = 100;
        return $userBasicList;
    }

    
}    
?>